<?php

/**
 * Description of JAppConfig
 *
 * @author JeyDotC
 * 
 * @export Config
 * @export-metadata singleinstance
 */
class JAppConfig extends AppConfig{
    /**
     *
     * @var JParameter 
     */
    private $configObject;


    public function get($key) {
        return $this->configObject->get($key);
    }

    protected function load() {
        /* @var $mainframe JSite */
        global $mainframe;
        $this->configObject = $mainframe->getPageParameters($mainframe->scope);
    }

}

?>
